import { agencyDownLoadHttp as http } from '@/services/http';
/** 代理商列表导出 */
export const colonelListExport = (data = {}) =>
  http({
    url: '/api/export/colonellist',
    data,
    method: 'post'
  });
/** 代理订单列表导出 */
export const agentOrderListExport = (data = {}) =>
  http({
    url: '/api/export/order/list',
    data,
    method: 'post'
  });
/** 打款列表导出 */
export const cashListExport = (data = {}) =>
  http({
    url: '/api/export/cashlist',
    data,
    method: 'post'
  });
/** 代理订单列表导出 */
export const orderListExport = (data = {}) =>
  http({
    url: '/api/export/order/list',
    data,
    method: 'post'
  });
/** 讲师发放管理列表导出 */
export const lecturerListExport = (data = {}) =>
  http({
    url: '/api/lec/export/leclist',
    data,
    method: 'post'
  });
/** 讲师发放管理
兑换列表 下载*/
export const lecturerExchangeListExport = (params = {}) =>
  http({
    url: '/api/lec/export/code',
    params,
    method: 'get'
  });
/** 讲师发放管理
兑换码发放*/
export const lecturerGenCodeExport = (data = {}) =>
  http({
    url: '/api/lec/gencode',
    data,
    method: 'post'
  });
